
<?php

include_once './db_bb_connect.php';

$ID = $_POST['ID'];

$sql = "UPDATE attentionpointsteams SET archived = 'no' WHERE ID = '$ID'";
	
if ( $db->query($sql) ) {  

 	echo "Actionpoint Succesfully Unarchived";

} else {
    echo "Error: " . $sql . "<br>" . $db->error;
} 



?>